$(function(){
  var $username = $('#username');
  $.get('/json?abc=123').then(function(response){
    console.log(response);
    $username.text(response['username']);
  });
});